package com.maybach.dubbo.api.model;

import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * Created by houenxun on 16/2/24.
 */
public class CreateLoanOrderModel  implements Serializable{
    private Long userId;
    @Length(max=20, message = "订单名称超长")
    private String orderName;
    private String emailAddress;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getOrderName() {
        return orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    public String getEmailAddress() {
        return emailAddress;
    }

    public void setEmailAddress(String emailAddress) {
        this.emailAddress = emailAddress;
    }
}
